<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class SchemalessBehavior</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class SchemalessBehavior</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">SchemalessBehavior class</p>
	<ul class="tags">
				<li><span class="field">uses:</span> ModelBehavior</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_behaviors---schemaless.php.html">/behaviors/schemaless.php</a> (line <span class="field"><a href="../../__filesource/fsource_mongodb_mongodb-models-behaviors_behaviorsschemaless.php.html#a34">34</a></span>)
		</p>
		
				
		<pre>ModelBehavior
   |
   --SchemalessBehavior</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																								<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$name" title="details" class="var-name">$name</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$settings" title="details" class="var-name">$settings</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$_defaultSettings" title="details" class="var-name">$_defaultSettings</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																														
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#beforeSave" title="details" class="method-name">beforeSave</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$Model</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$Model</span>)
									</div>
														
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setup" title="details" class="method-name">setup</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$Model</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$config</span> = <span class="var-default">array()</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$Model</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$name" id="$name"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$name</span>
			 = <span class="var-default"> 'Schemaless'</span>			(line <span class="line-number"><a href="../../__filesource/fsource_mongodb_mongodb-models-behaviors_behaviorsschemaless.php.html#a42">42</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">name property</p>
	<ul class="tags">
				<li><span class="field">var:</span> 'Schemaless'</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$settings" id="$settings"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$settings</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../../__filesource/fsource_mongodb_mongodb-models-behaviors_behaviorsschemaless.php.html#a50">50</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">settings property</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$_defaultSettings" id="$_defaultSettings"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$_defaultSettings</span>
			 = <span class="var-default">array(<br />	)</span>			(line <span class="line-number"><a href="../../__filesource/fsource_mongodb_mongodb-models-behaviors_behaviorsschemaless.php.html#a58">58</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">defaultSettings property</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodbeforeSave" id="beforeSave"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">beforeSave</span> (line <span class="line-number"><a href="../../__filesource/fsource_mongodb_mongodb-models-behaviors_behaviorsschemaless.php.html#a84">84</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">beforeSave method</p>
<p class="description"><p>Set the schema to allow saving whatever has been passed</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			beforeSave
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$Model</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$Model</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$Model</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$Model</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetup" id="setup"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setup</span> (line <span class="line-number"><a href="../../__filesource/fsource_mongodb_mongodb-models-behaviors_behaviorsschemaless.php.html#a71">71</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">setup method</p>
<p class="description"><p>Don't currently have any settings at all - disabled</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setup
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$Model</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$config</span> = <span class="var-default">array()</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">$Model</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$Model</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$config</span><span class="var-description">: array()</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$Model</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 26 Jul 2011 01:09:01 +0900 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>